// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
//
// Copyright (c) 2015-2020 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2020 Juan de la Cruz <delacruzgarciajuan@gmail.com>

// TODO: rename to auth.scss

.auth {
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 510px auto;
}

.auth-sidebar {
  grid-column: 1 / span 1;
  height: 100vh;

  display: flex;
  padding-top: 100px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color:#2C233E;
  background-image: url("/images/penpot-login.jpg");
  background-size: cover;
  background-position: center;

  .tagline {
    text-align: center;
    width: 280px;
    font-size: $fs18;
    margin-top: 25px;
    color: #2C233E;
  }

  .logo {
    svg {
      fill: #2C233E;
      width: 200px;
      height: 80px;
    }
  }
}

.auth-content {
  grid-column: 2 / span 1;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: $color-white;

  .form-container {
    width: 412px;

    .btn-ocean {
      margin-top: $x-big;
    }

    form {
      margin: 2rem 0;
    }
  }

  .btn-google-auth {
    margin-bottom: $medium;
    text-decoration: none;
  }

  .btn-gitlab-auth {
    margin-bottom: $medium;
    text-decoration: none;

    .logo {
      width: 20px;
      height: 20px;
      margin-right: 1rem;
    }
  }
}
